<template>
  <div>
    <el-row class="info-container">
      <el-col :span="12">
        <div class="info-block">
          <label>接口标识：</label>
          <span>{{ data.name }}</span>
        </div>
      </el-col>
      <el-col :span="12">
        <div class="info-block">
          <label>接口版本：</label>
          <span>{{ data.deptName }}</span>
        </div>
      </el-col>
      <el-col :span="12">
        <div class="info-block">
          <label>应用名称：</label>
          <span>{{ data.applyPlatform }}</span>
        </div>
      </el-col>
      <el-col :span="12">
        <div class="info-block">
          <label>归属地区：</label>
          <span>{{ data.supplyPlatform }}</span>
        </div>
      </el-col>
      <el-col :span="12">
        <div class="info-block">
          <label>归属部门：</label>
          <span>{{ data.applyName }}</span>
        </div>
      </el-col>
      <el-col :span="12">
        <div class="info-block">
          <label>注册时间：</label>
          <span>{{ data.applyPhone }}</span>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import { defineComponent, watch, computed, ref } from "vue";

export default defineComponent({
  name: "ApproveInfo",
  props: {
    data: {
      type: Object,
      default: () => {},
    },
  },
  setup(props, { emit }) {
    return {};
  },
});
</script>

<style lang="scss" scoped>
.info-container {
  padding: 15px 0;
  // padding-left: 10px;
  .el-col {
    margin-top: 15px;
  }
  .info-block {
    label {
      font-size: 14px;
      font-weight: 600;
      color: #3C475D;
      line-height: 20px;
    }
    span {
      font-size: 14px;
      font-weight: 400;
      color: #3C475D;
      line-height: 20px;
    }
  }
}
</style>
